home *** CD-ROM | disk | FTP | other *** search
/ Champak 143 / (Vol 143) Nov 15 2011.iso / Games / aqua_cubes.swf / scripts / frame_83 / DoAction.as < prev   
Text File  |  2011-11-15  |  229b  |  10 lines

  1. stopAllSounds();
  2. _root.bgm = new Sound();
  3. _root.bgm.attachSound("bgm" + random(3));
  4. _root.bgm.start(0,1);
  5. _root.bgm.onSoundComplete = function()
  6. {
  7.    _root.bgm.attachSound("bgm" + random(3));
  8.    _root.bgm.start(0,1);
  9. };
  10.